@extends('layouts.admin_iframe')
@section('content')


	@if(count($errors)>0)
		<div class="mark">
			@if(is_object($errors))
				@foreach($errors->all() as $key=>$error)
					@if($key==0)
						<script>
							layer.msg('{{$error}}', {icon: 5});
						</script>

					@endif
				@endforeach
			@else
				<script>
					layer.msg('{{$errors}}', {icon: 5});
				</script>

			@endif
		</div>
	@endif

	<form action="{{url('admin/change_mima')}}" method="post">
		{{csrf_field()}}
		<div class="alert alert-success">修改密码</div>
		<div class="form-group">
			<label for="exampleInputEmail1">原密码</label>
			<input id="exampleInputEmail1" class="form-control" type="password" placeholder="请输入原密码" required="" name="old_password">
		</div>

		<div class="form-group">
			<label for="exampleInputEmail1">确认密码</label>
			<input id="exampleInputEmail1" class="form-control" type="password" placeholder="请输入分类标题" required="" name="password">
		</div>

		<div class="form-group">
			<label for="exampleInputEmail1">确认密码</label>
			<input id="exampleInputEmail1" class="form-control" type="password" placeholder="请输入分类标题" required="" name="password_confirmation">
		</div>

		
	
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
	</form>
@endsection